#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QMessageBox>
#include <QListWidgetItem>
#include <QMenu>
#include <QList>
#include <string>
#include <QToolBar>
#include "ContactsList.h"
#include "NetworkPlugin.h"
#include "SettingsWindow.h"


class QAction;
class QActionGroup;
class QLabel;

class MainWindow : public QMainWindow
{
    Q_OBJECT

    public:
        MainWindow();

    private slots:

        void autors();

    private:

        QMenu *mainMenu;
        QMenu *contactMenu;
        QMenu *helpMenu;
        QMenu *importMenu;
        QMenu *exportMenu;
        ContactsList *contactList;
        QToolBar *toolbar;
        SettingsWindow *settingsWindow;
        QList<NetworkPlugin*> networkPluginList;

     protected:

//        void mousePressEvent(QMouseEvent *event)
//        {
//             if (event->button() == Qt::LeftButton)
//             {
//                QMessageBox::information(this, tr("Info"), tr("Lewy"));
//
//             }
//        }



};

#endif // MAINWINDOW_H
